#include "CustomFormTitle.h"

CustomFormTitle::CustomFormTitle(QWidget *parent)
    : QWidget{parent}
{

}

void CustomFormTitle::init()
{
    m_MinmizeButton = new QPushButton("",this);
    m_MinmizeButton->resize(70,30);
    m_MoreButton = new QPushButton("",this);
    m_MoreButton->resize(70,30);
    m_CloseButton = new QPushButton("",this);
    m_CloseButton->resize(70,30);

    m_CloseButton->move(rect().width()-70,0);
    m_MinmizeButton->move(rect().width()-140,0);
    m_MoreButton->move(rect().width()-210,0);
}
